package com.infitecs.eyas.quality.service;

import com.infitecs.eyas.quality.model.Burst;
import com.infitecs.eyas.quality.model.Element;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * Created with IntelliJ IDEA.
 * User: chenkaiyu
 * Date: 15-4-24
 * Time: 下午5:18
 * To change this template use File | Settings | File Templates.
 */
public interface BurstService {
    Double calculateTheValueOfKvTi(Burst burst);

    Double calculateTheValueOfKd(Burst burst);

    Double calculateTheValueOfKgc(Burst burst);

    Double calculateTheValueOfHm(Burst burst);

    void updateKe(Burst burst);

    void updateAi(Burst burst);

    Burst getBurst(int caseId);

    void boomSave(Burst burst);

    void boomSaveData(Burst burst);

    void exportMzfx(HttpServletRequest request, HttpServletResponse response, String caseId) throws IOException;

}
